package com.cf.limit.core;

import java.lang.annotation.*;

/**
 * cf-game-RequestLimit
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/4/23 上午 10:40
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface RequestLimit {

    /**
     * el表达式
     *
     * @return
     */
    String key() default "''";

    int minute() default 10;

    int hour() default 100;

    int day() default 1000;

    int week() default 8000;

    int month() default 30000;

    int year() default 365000;

}